from common.locate_by import By

class LocLayoutAdd:

    loc_sure = {
        "page_role": By.dialog,
        "page_title": "新 增",
        "loc_role": By.button,
        "loc_name": "确 定",
    }

    loc_cancel = {
        "page_role": By.dialog,
        "page_title": "新 增",
        "loc_role": By.button,
        "loc_name": "取 消",
    }

    loc_close = {
        "page_role": By.dialog,
        "page_title": "新 增",
        "loc_role": By.button,
        "loc_name": "关闭此对话框",
    }

    loc_enterprise_id = {
        "page_role": By.dialog,
        "page_title": "新 增",
        "loc_role": By.combobox,
        "loc_name": "* 单位名称:",
    }

    loc_area_code = {
        "page_role": By.dialog,
        "page_title": "新 增",
        "loc_role": By.combobox,
        "loc_name": "* 行政区域:",
    }

    loc_name = {
        "page_role": By.dialog,
        "page_title": "新 增",
        "loc_role": By.textbox,
        "loc_name": "* 内部区域名称:",
    }

    loc_area_type = {
        "page_role": By.dialog,
        "page_title": "新 增",
        "loc_role": By.combobox,
        "loc_name": "* 内部区域类型:",
    }

    loc_linkman = {
        "page_role": By.dialog,
        "page_title": "新 增",
        "loc_role": By.textbox,
        "loc_name": "联系人:",
    }

    loc_contact_information = {
        "page_role": By.dialog,
        "page_title": "新 增",
        "loc_role": By.textbox,
        "loc_name": "联系方式:",
    }